import EmployeeList from 'component/EmployeeList';
import {connect} from 'react-redux';
import {fetchEmployees} from 'reducers/employee';

export default connect(
  state => ({employees: state.employee.employees}),
  {fetchEmployees}
)(EmployeeList);
